QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = openCV
TEMPLATE = app

# OpenCV
OPENCV = "C:\\opencv"
OPENCV_LIB = $$OPENCV\\build\\x86\\vc9\\lib
INCLUDEPATH += $$OPENCV\\build\\include\\opencv $$OPENCV\\build\\include

CONFIG(debug, debug|release) {
  LIBS += $$files($$OPENCV_LIB\\*245d.lib)
} else {
  LIBS += $$files($$OPENCV_LIB\\*245.lib)
}

SOURCES += main.cpp\
        MainWindow.cpp \
    myQLabel.cpp \
    SampleDialog.cpp

HEADERS  += MainWindow.h \
    myQLabel.h \
    SampleDialog.h

FORMS    += MainWindow.ui \
    SampleDialog.ui
